<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta charset="UTF-8">
    <title>2 双向数据绑定</title>
    <script src="../angular-1.5.8/angular.js"></script>
</head>
<body ng-app>
<input type="text" ng-model="txt1">
<p>{{txt1}}</p>


</body>
</html>